package com.guangzhi.weijianzhi.mainsmsg;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;

import com.guangzhi.weijianzhi.R;
import com.guangzhi.weijianzhi.context.WeijianzhiApplication;
import com.guangzhi.weijianzhi.fragment.BaseFragment;
/**
 * 用户工作界面
 * @author Administrator
 *
 */
public class MainUserMsgFragment extends BaseFragment implements OnClickListener {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
	}
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		TextView tv = new TextView(getActivity());
		tv.setText("工作");
		return tv;
	}
	
	private void initView(View inflate) {
		// TODO Auto-generated method stub
	}

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onActivityCreated(savedInstanceState);
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch (v.getId()) {
		case R.id.title_back:
			Toast.makeText(getActivity(), "跳转到消息界面", 1).show();
			break;

		}
	}
}
